#pragma once

BOOL GetRegDword( HKEY hRoot , LPCSTR lpPath, LPCSTR pKey, DWORD& dwResult );
BOOL SetRegeditValue( HKEY hRoot, LPCSTR lpPath, LPCSTR pKey, DWORD dwValue );
BOOL SetRegeditValue( HKEY hRoot, LPCSTR lpPath, LPCSTR pKey, LPCSTR pValue );

BOOL ClearBrowserProtocolHook( HKEY hRootKey, LPCWSTR lpRegName );
BOOL SetBrowserProtocolHook( HKEY hRootKey, LPCWSTR lpRegName, LPCWSTR lpRunExe );

BOOL IsUsedHttpPoxy();
BOOL DisableHttpPoxy();
BOOL EnableHttpPoxy( LPCSTR lpPoxyInfo );